package com.lovo.psc.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@ApiModel(value = "供应商实体",description = "供应商实体")
@TableName("psc_verdor")
public class VerdorBean {

    @TableId("pk_vendorId")
    @ApiModelProperty(value = "供应商主键id")
    private long vendorId;

    @TableField("v_name")
    @ApiModelProperty(value = "用户名")
    private String name;

    @TableField("v_leaderPhone")
    @ApiModelProperty(value = "负责人手机号")
    private String leaderPhone;

    @TableField("v_leaderName")
    @ApiModelProperty(value = "负责人姓名")
    private String leaderName;

    /**公司名称*/
    @TableField("v_firm")
    private String firm;

    @TableField("v_pwd")
    @ApiModelProperty(value = "密码")
    private String pwd;

    @TableField("v_address")
    @ApiModelProperty(value = "供应商地址")
    private String address;

    @TableField("v_ranges")
    @ApiModelProperty(value = "经营范围")
    private String ranges;

    @TableField("v_aptitudeImage")
    @ApiModelProperty(value = "资质图片")
    private String aptitudeImage;

    @TableField("v_idImage")
    @ApiModelProperty(value = "身份证图片")
    private String idImage;

    @TableField("v_status")
    @ApiModelProperty(value = "审核状态")
    private int status=0;

    @TableField("v_cause")
    @ApiModelProperty(value = "审核未通过原因")
    private String cause;

    @TableField("v_bank")
    @ApiModelProperty(value = "供应商银行卡号码")
    private String bank;

    @TableField(exist = false)
    @ApiModelProperty(value = "供应商商品集合")
    private List<VendorProductBean> vendorproductBeanList;
}
